<template>
  <div class="loading">
    <div class="bg">
      <img src="../../assets/img/home/loading-bg.png" alt="">
      <img src="../../assets/img/home/full-screen-loading.gif" alt="">
    </div>
  </div>
</template>

<script setup lang="ts">
import { ref, reactive } from 'vue'

</script>

<style scoped lang="less">
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, .2);
  display: flex;
  justify-content: center;
  align-items: center;

  .bg {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;

    img:nth-child(1) {
      width: 104px;
      height: 104px;
    }

    img:nth-child(2) {
      width: 70px;
      height: 70px;
      position: absolute;
      top: 46%;
      left: 50%;
      transform: translateX(-50%) translateY(-50%);
    }
  }
}
</style>
